var Exam=Exam||{};
fastCSharp.Copy(Exam,{
ShowAllQuestion:function(IsAll,Type)
	{
	var SkinValue=fastCSharp.PageView.SkinValue.exam.Remote,Questions=SkinValue.SkinValue[Type+'DescriptionQuestions'];
	for(var Index=Questions.length;Index;Questions[--Index].IsCurrent=IsAll);
	SkinValue[Type+'DescriptionQuestions'].Set();
	fastCSharp.PageView.SkinValue['isAll'+Type].Set(IsAll);
	},
ShowQuestion:function(Id,Type)
	{
	var SkinValue=fastCSharp.PageView.SkinValue.exam.Remote,Questions=SkinValue.SkinValue[Type+'DescriptionQuestions'],IsAll=fastCSharp.PageView.SkinValue['isAll'+Type];
	if(IsAll.SkinValue)
		{
		for(var Index=Questions.length;Index;)
			{
			var Question=Questions[--Index];
			Question.IsCurrent=Question.Id==Id;
			}
		SkinValue[Type+'DescriptionQuestions'].Set();
		IsAll.Set(0);
		}
	else	{
		for(var Index=Questions.length;Index;)
			{
			var Question=Questions[--Index];
			Question.IsCurrent=Question.Id==Id?!Question.IsCurrent:0;
			}
		SkinValue[Type+'DescriptionQuestions'].Set();
		}
	}
		});